import java.util.Arrays;
import java.util.Scanner;

public class excaptions_work2 {
    public static void main(String args[]) {
        int tmp;
        Scanner reader = new Scanner(System.in);
        int n = reader.nextInt();
        int[] array = new int[n];
        for (int i = 0; i < n; i++) {
            while (true) {
                try {
                    String s = reader.next();
                    tmp = Integer.parseInt(s);
                    break;
                } catch (Exception e) {
                    System.out.println(e);
                }
            }
            array[i] = tmp;
        }
        System.out.println(Arrays.toString(array));
    }
}